package com.itheima.infoManager.duotaiDemo.manager.dao;

import com.itheima.infoManager.duotaiDemo.manager.domain.Student;

public interface BaseStudentDao {

    //添加
    boolean addStudent(Student stu);

    //返回数组——查看
    Student[] findAllStudent();

    //删除
    boolean deleteStudent(String delId);

    //根据id查找其学生对象所在数组索引处
    int getIndex(String id);

    //修改
    boolean updateStudent(String upId, Student student);
}
